<?php
// $account_protect = account->protect;
$account_protect = time() + 2*3600*24;
//$now = DateTime::createFromFormat('d/m/Y H:i', date('d/m/Y H:i'));
$now = new DateTime();
//$ind = DateTime::createFromFormat('d/m/Y H:i', date('d/m/Y H:i', $account_protect));
$ind = new DateTime('@' . $account_protect);
$ind->setTimezone(new DateTimeZone('Asia/Jerusalem'));
$more = $now->diff($ind);
echo $more->d . 'days ' . $more->h . ' hours ' . $more->i . ' minutes';
1